package com.qtcm.nas.spc.xiaoshou.service.impl;

import com.qtcm.nas.spc.pojo.Commodity_Out;
import com.qtcm.nas.spc.pojo.XiangQIng;
import com.qtcm.nas.spc.xiaoshou.dao.ImpXiaoShou_Out;
import com.qtcm.nas.spc.xiaoshou.service.ImpXiaoShou_Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description说明: TODO
 * @Date 2022/7/16 9:04
 * @PackageName:com.jzyh.spc.login.service
 * @ClassName: ImpUserService
 * @Author作者: Spc
 * @Version 1.0
 * @自己写的注释:
 */
@Service("xiaoShou_Service")
public class XiaoShou_Service implements ImpXiaoShou_Service {
    @Autowired
    @Qualifier("impXiaoShou_Out")
    private ImpXiaoShou_Out impXiaoShou_Out;

    //    查询现金
    public List<Integer> findXianJ(String start,String end) {
        return impXiaoShou_Out.findXianJ(start,end);
    }

    //查询微信
    @Override
    public List<Integer> findWeiX(String start,String end) {
        return impXiaoShou_Out.findWeiX(start,end);
    }

    //    查询刷卡
    public List<Integer> findShuaK(String start,String end) {
        return impXiaoShou_Out.findShuaK(start,end);
    }

    //    查询邮政
    public List<Integer> findYouZ(String start,String end) {
        return impXiaoShou_Out.findYouZ(start,end);
    }

    //    查询销量
    public List<Commodity_Out> findXiao() {
        return impXiaoShou_Out.findXiao();
    }

    //    仓库库存
    public List<Commodity_Out> findKucun() {
        return impXiaoShou_Out.findKucun();
    }


    //查询已洗车辆
    public int findYxc(String start,String end) {
        return impXiaoShou_Out.findYxc(start,end);
    }

    //查询非会员收入
    public List<Integer> findFeiHuiY(String start,String end) {
        return impXiaoShou_Out.findFeiHuiY(start,end);
    }

    //    查询会员收入
    public List<Integer> findHuiy(String start,String end) {
        return impXiaoShou_Out.findHuiy(start,end);
    }

    //    查询储值卡收入
    public List<Integer> findChuZk(String start,String end) {
        return impXiaoShou_Out.findChuZk(start,end);
    }

    //    查询年卡卡收入
    public List<Integer> findNianK(String start,String end) {
        return impXiaoShou_Out.findNianK(start,end);
    }
/*--------------------各种详情---------------------------------------------------------------*/
    //    现金支付的详情
    public List<XiangQIng> findXjXQ(String start,String end) {
        return impXiaoShou_Out.findXjXQ(start,end);
    }

    //    查询业绩报表中非会员收入详情
    public List<XiangQIng> findYejiNoHuiY(String start,String end) {
        return impXiaoShou_Out.findYejiNoHuiY(start,end);
    }

}
